using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace IQIGame.Onigao.Logic
{
    public static class LgMathConst
    {

        private static Dictionary<int, float> _CosValueMap = new Dictionary<int, float>() {
            { 0, 1 },
            { 15, 0.9659258f },
            { 30, 0.8660254f },
            { 45, 0.7071068f },
            { 60, 0.5f },
            { 75, 0.2588190f },
            { 90, 0 },
            { 105, -0.2588190f },
            { 120, -0.5f },
            { 135, -0.7071068f },
            { 150, -0.8660254f },
            { 165, -0.9659258f },
            { 180, -1 }
        };
        public static ReadOnlyDictionary<int, float> CosValueMap { get; }

        static LgMathConst()
        {
            CosValueMap = new ReadOnlyDictionary<int, float>(_CosValueMap);
        }
    }
}
